package com.tg.service.eventbus2.springconfig;

import com.tg.service.eventbus2.service.UserService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import({ImportEngineBeanDefinition.class})
public class EngineConfig {

    @Bean
    public UserService loadUserService(){
        return new UserService();
    }
}
